package router

import (
	"api/internal/api"
	"github.com/gin-gonic/gin"
)

func SecKillRouter(c *gin.RouterGroup) {
	secKillRouter := c.Group("sec")
	{
		secKillRouter.POST("create", api.Create)
		secKillRouter.POST("update", api.Update)
		secKillRouter.POST("del", api.Delete)
		secKillRouter.GET("list", api.List)
		secKillRouter.GET("type", api.Type)
		secKillRouter.GET("price", api.Price)
	}
}
